﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using TyMES.Model.BaseInformation;
using TyMES.Model;

namespace TyMES.ViewModel.BaseInformation.RouteOperationVMs
{
    public partial class RouteOperationBatchVM : BaseBatchVM<RouteOperation, RouteOperation_BatchEdit>
    {
        public RouteOperationBatchVM()
        {
            ListVM = new RouteOperationListVM();
            LinkedVM = new RouteOperation_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class RouteOperation_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._RouteOperation._AddTime")]
        public DateTime? AddTime { get; set; }
        [Display(Name = "_Model._RouteOperation._EditTime")]
        public DateTime? EditTime { get; set; }
        [Display(Name = "_Model._RouteOperation._LastOperationCode")]
        public string LastOperationCode { get; set; }
        [Display(Name = "_Model._RouteOperation._LineCode")]
        public string LineCode { get; set; }
        [Display(Name = "_Model._RouteOperation._NextNode")]
        public string NextNode { get; set; }
        [Display(Name = "_Model._RouteOperation._NextOperationCode")]
        public string NextOperationCode { get; set; }
        [Display(Name = "_Model._RouteOperation._NextOperationId")]
        public string NextOperationId { get; set; }
        [Display(Name = "_Model._RouteOperation._OperationCode")]
        public string OperationCode { get; set; }
        [Display(Name = "_Model._RouteOperation._OperationId")]
        public string OperationId { get; set; }
        [Display(Name = "_Model._RouteOperation._OperationName")]
        public string OperationName { get; set; }
        [Display(Name = "_Model._RouteOperation._OrderCode")]
        public string OrderCode { get; set; }
        [Display(Name = "_Model._RouteOperation._OrderId")]
        public string OrderId { get; set; }
        [Display(Name = "_Model._RouteOperation._ParentOperationCode")]
        public string ParentOperationCode { get; set; }
        [Display(Name = "_Model._RouteOperation._ParentOperationId")]
        public string ParentOperationId { get; set; }
        [Display(Name = "_Model._RouteOperation._RouteName")]
        public string RouteName { get; set; }
        [Display(Name = "_Model._RouteOperation._RouteNumber")]
        public string RouteNumber { get; set; }
        [Display(Name = "_Model._RouteOperation._RouteVersion")]
        public string RouteVersion { get; set; }
        [Display(Name = "_Model._RouteOperation._ScheduleNumber")]
        public string ScheduleNumber { get; set; }
        [Display(Name = "_Model._RouteOperation._Sort")]
        public string Sort { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}